namespace Digitalmes.Application.Mes;

/// <summary>
/// 生产工单明细表
/// </summary>
public sealed class ProdWoDetailDto : Dto
{
    /// <summary>
    /// 工单Id
    /// </summary>
    public long WoId { get; set; }

    /// <summary>
    /// SN
    /// </summary>
    [Required, NotNull]
    [StringLength(64)]
    public string? Sn { get; set; }

    /// <summary>
    /// SN状态（1=>待生产;2=>已生产）
    /// </summary>
    public int Status { get; set; }

    /// <summary>
    /// 是否已上报给上层系统
    /// </summary>
    public bool IsReported { get; set; }

    /// <summary>
    /// 上报时间
    /// </summary>
    public DateTime? ReportTime { get; set; }
}
